// 导入base.less
@import url(base.less);
// 导入normalize.less
@import url(normalize.less);
// 导入common.less公共样式
@import url(commom.less);
// 声明基准值变量
// width: (10 / 37.5rem)
@baseSize: 37.5rem;
@gColor: #14916a;

.bannar {
  width: (375 / @baseSize);
  height: (170 / @baseSize);

}

// 主体内容部分
main {
  // display: flex;
  // flex-direction: column;

  .company {
    padding-top: (28 / @baseSize);
    display: flex;
    flex-direction: column;

    .company-info {
      .info-pic {
        width: (375 / @baseSize);
        height: (148 / @baseSize);
        margin-bottom: (19 / @baseSize);

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

    }

    .info {
      position: relative;
      padding-bottom: (55 / @baseSize);

      .info-text {
        height: (120 / @baseSize);
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        p {
          font-size: (12 / @baseSize);
          line-height: (18 / @baseSize);
        }

      }

      a {
        position: absolute;
        right: 0;
        bottom: (10 / @baseSize);
        font-size: (14 / @baseSize);
        color: #fff;
        padding: (8 / @baseSize) (15 / @baseSize);
        background-color: @gColor;
        border-top-left-radius: (15 / @baseSize);
        border-bottom-right-radius: (15 / @baseSize);
      }
    }
  }

  .team {
    padding: (28 / @baseSize) 0;
    background-color: #fff;

    .team-pic {
      position: relative;
      background-color: pink;
      width: (375 / @baseSize);
      height: (146 / @baseSize);
      margin-bottom: (11 / @baseSize);

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      //左右箭头
      .pre {
        width: (22 / @baseSize);
        height: (22 / @baseSize);
        text-align: center;

        position: absolute;
        left: (11 / @baseSize);
        top: 50%;
        border-radius: 50%;

        transform: translateY(-50%);

        i {
          float: left;
          font-size: (22 / @baseSize);
          line-height: (22 / @baseSize);
          color: @gColor;
          background-color: #fff;
          border-radius: 50%;

          // vertical-align: middle;

        }
      }

      .next {
        width: (22 / @baseSize);
        height: (22 / @baseSize);

        text-align: center;
        position: absolute;
        right: (11 / @baseSize);
        top: 50%;
        transform: translateY(-50%);

        i {
          float: left;
          font-size: (22 / @baseSize);
          line-height: (22 / @baseSize);
          color: @gColor;
          background-color: #fff;
          border-radius: 50%;

          // vertical-align: middle;

        }
      }
    }

    .team-tag {
      display: flex;
      justify-content: space-between;


      p {
        font-size: (14 / @baseSize);
        line-height: (18 / @baseSize);
        color: #000;

        &:nth-child(2) {
          font-size: 10px;
          color: #666;
        }
      }
    }
  }
}